package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingLevelVo;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface NursingLevelService {
    List<NursingLevelVo> getAllList();

    void add(NursingLevelDto nursingLevelDto);

    PageResponse getByPage(String name, Integer pageNum, Integer pageSize, Integer status);

    NursingLevelVo getById(Integer id);

    void update(NursingLevelDto nursingLevelDto);

    void deleteById(Integer id);

    void openAndClose(Integer id, @PathVariable Integer status);
}
